Skip to content

Loads mler bug fix#179

Merged
simmsa merged 13 commits into
MHKiT-Software:developfrom
hivanov-nrel:loads_bug_fix
Sep 25, 2025
Merged

Loads mler bug fix#179
simmsa merged 13 commits into
MHKiT-Software:developfrom
hivanov-nrel:loads_bug_fix

Conversation

@hivanov-nrel
Copy link
Copy Markdown
Contributor

Description

Correct bug where the phase angle is negative when it should be positive. The internal matlab function angle reads in the provided RAO data as positive, whereas the corresponding function in Python reads this data in as negative. This accounts for the difference in signage on line 55.

Issue

Closes #172

@hivanov-nrel hivanov-nrel added this to the 1.0 milestone Sep 23, 2025
@hivanov-nrel hivanov-nrel self-assigned this Sep 23, 2025
@hivanov-nrel hivanov-nrel added the parity related to achieving parity with MHKiT-Python label Sep 23, 2025
@simmsa
Copy link
Copy Markdown
Contributor

simmsa commented Sep 24, 2025

@hivanov-nrel, tests are passing and this appears to be fixed. Can you confirm? The root cause was some unnecessary transposing, likely caused by something I did to try to get the tests passing.

LMK if you are good with the changes here.

@simmsa simmsa merged commit 2c76f49 into MHKiT-Software:develop Sep 25, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parity related to achieving parity with MHKiT-Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants